# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=disomaster
pkgver=5.0.8
pkgrel=1
pkgdesc='A libisoburn wrapper class for Qt'
arch=('loong64' 'x86_64')
url="https://github.com/linuxdeepin/disomaster"
license=('GPL3')
depends=('libisoburn' 'qt5-base')
makedepends=('qt5-tools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/disomaster/archive/$pkgver.tar.gz")
sha512sums=('0e591c6230b5522c5a8ca0790a45ba86e78ed7a9ebb2fb3381890b34f185bbf561fce6d0f1b86792e8b6f99ce8ae0747324b5248dc0e8b16d2d72d656e61721e')

build() {
  cd disomaster-$pkgver
  qmake-qt5 PREFIX=/usr
  make
}

package() {
  cd disomaster-$pkgver
  make INSTALL_ROOT="$pkgdir" install
}
